# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-cubietech-cubieboard
pkgdesc="Cubietech Cubieboard"
pkgver=0.1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="
	linux-edge
	mesa-dri-gallium
	postmarketos-base
	u-boot-cubieboard
	"
makedepends="devicepkg-dev"
source="deviceinfo extlinux.conf"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname
	install -Dm644 "$srcdir"/extlinux.conf \
		"$pkgdir"/boot/extlinux/extlinux.conf
}

sha512sums="90e52b3bfff815a83f3a744a63d4ef0b59368f4227e5fb53a698da89a61a9cd464d63fa8534c3d2693bdd6899b17090b32feaf352d95d3d04cac0b192e151e46  deviceinfo
a33dd1a89548eb95d95e07a879bf412985bd01ebfef8e2ddaaa5c3e2d173743c3530148e36a9fc81a07e67b4a35509f06852bd2f652f64a9b6224ce8d7e12d56  extlinux.conf"
